import { Injectable } from "@nestjs/common";
import IResponse from "@/services/response.service";
import { ReqProvider } from "@/core/providers/req.provider";

@Injectable()
export class UserService {
  constructor(private readonly reqProvider: ReqProvider) {}

  hello() {
    return IResponse.success({
      d: "hello",
      dx: this.reqProvider.domain,
      dx1: this.reqProvider.req.originalUrl,
    });
  }
}
